<?php 
include '../lock.php';
include '../../public/common/mysql_connect.php';

$id=$_GET['id'];
$sql="delete from user where id={$id}";

if(mysqli_query($conn,$sql)){
	echo '<script>location="index.php"</script>';
}
?>